import unittest
from UpdatePlat.OnlinePackList import OnlinePackList
from UpdatePlat.LocalPackList import LocalPackList
from UpdatePlat.Comparator import compare

url = "https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/base/x86_64/"

class MyTestCase(unittest.TestCase):

    @unittest.skip
    def test_OnlinePacklist(self):
        print(OnlinePackList(url).packlist)

    @unittest.skip
    def test_LocalPackList(self):
        print(compare(url))

if __name__ == '__main__':
    unittest.main()
